<?php
@require_once("config.php");
$str="select count(*) from newinfo";
$result=mysql_query($str);
$count=mysql_fetch_array($result);
echo json_encode($count);
?>